<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page</h1>
    <s:url id="admin" action="init">
        <s:param name="type">admin</s:param>
    </s:url>
    <s:url id="user" action="init">
        <s:param name="type">user</s:param>
    </s:url>
    
    <s:a href="%{admin}">管理员</s:a><br/>
    <s:a href="%{user}">普通用户</s:a>
    
    </body>
</html>
